package com.yunfeisoft.business.model;

import com.yunfeisoft.common.base.BaseModel;
import com.yunfeisoft.common.utils.DateUtils;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * ClassName: ElderHealth
 * Description: 老人健康体检主表
 *
 * @Author: Jackie liu
 * Date: 2020-04-04
 */
@Entity
@Table(name = "TT_ELDER_HEALTH")
public class ElderHealth extends BaseModel implements Serializable {

    /**
     * Field serialVersionUID: 序列号
     */
    private static final long serialVersionUID = 1L;

    /**
     * 老人入住关联id
     */
    @Column
    private String elderId;

    /**
     * 姓名
     */
    @Column
    private String name;

    /**
     * 体检日期
     */
    @Column
    private Date physicalExaminationTime;

    /**
     * 责任医生id
     */
    @Column
    private String doctorId;

    /**
     * 症状(字典项)
     */
    @Column
    private String symptom;

    /**
     * 其他症状备注
     */
    @Column
    private String symptomRemark;

    /**
     * 体温(摄氏度)
     */
    @Column
    private BigDecimal temperature;

    /**
     * 脉率(次/分钟)
     */
    @Column
    private Integer pulseRate;

    /**
     * 呼吸频率(次/分钟)
     */
    @Column
    private Integer respirationRate;

    /**
     * 左侧血压(mmHg)
     */
    @Column
    private Integer leftBloodPressure;

    /**
     * 右侧血压(mmHg)
     */
    @Column
    private Integer rightBloodPressure;

    /**
     * 身高(cm)
     */
    @Column
    private Integer height;

    /**
     * 体重(kg)
     */
    @Column
    private Integer weight;

    /**
     * 腰围(cm)
     */
    @Column
    private Integer waistline;

    /**
     * 体质指数(kg/m2)
     */
    @Column
    private Integer bmi;

    /**
     * 健康自我评估(字典项)
     */
    @Column
    private String healthSelfAppraisal;

    /**
     * 自理能力自我评估(字典项)
     */
    @Column
    private String selfcareAbilityAppraisal;

    /**
     * 认知功能(字典项)
     */
    @Column
    private String cognitiveFunction;

    /**
     * 简易智力状态检查分数
     */
    @Column
    private BigDecimal cognitiveFunctionScore;

    /**
     * 情感状态(字典项)
     */
    @Column
    private String affectiveState;

    /**
     * 老年人抑郁评分检查分数
     */
    @Column
    private BigDecimal affectiveStateScore;

    /**
     * 状态
     */
    @Column
    private Integer status;


    public String getElderId() {
        return elderId;
    }

    public void setElderId(String elderId) {
        this.elderId = elderId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Date getPhysicalExaminationTime() {
        return physicalExaminationTime;
    }

    public String getPhysicalExaminationTimeStr() {
        if (physicalExaminationTime == null) {
            return null;
        }
        return DateUtils.dateToString(physicalExaminationTime);
    }

    public void setPhysicalExaminationTime(Date physicalExaminationTime) {
        this.physicalExaminationTime = physicalExaminationTime;
    }

    public String getDoctorId() {
        return doctorId;
    }

    public void setDoctorId(String doctorId) {
        this.doctorId = doctorId;
    }

    public String getSymptom() {
        return symptom;
    }

    public void setSymptom(String symptom) {
        this.symptom = symptom;
    }

    public String getSymptomRemark() {
        return symptomRemark;
    }

    public void setSymptomRemark(String symptomRemark) {
        this.symptomRemark = symptomRemark;
    }

    public BigDecimal getTemperature() {
        return temperature;
    }

    public void setTemperature(BigDecimal temperature) {
        this.temperature = temperature;
    }

    public Integer getPulseRate() {
        return pulseRate;
    }

    public void setPulseRate(Integer pulseRate) {
        this.pulseRate = pulseRate;
    }

    public Integer getRespirationRate() {
        return respirationRate;
    }

    public void setRespirationRate(Integer respirationRate) {
        this.respirationRate = respirationRate;
    }

    public Integer getLeftBloodPressure() {
        return leftBloodPressure;
    }

    public void setLeftBloodPressure(Integer leftBloodPressure) {
        this.leftBloodPressure = leftBloodPressure;
    }

    public Integer getRightBloodPressure() {
        return rightBloodPressure;
    }

    public void setRightBloodPressure(Integer rightBloodPressure) {
        this.rightBloodPressure = rightBloodPressure;
    }

    public Integer getHeight() {
        return height;
    }

    public void setHeight(Integer height) {
        this.height = height;
    }

    public Integer getWeight() {
        return weight;
    }

    public void setWeight(Integer weight) {
        this.weight = weight;
    }

    public Integer getWaistline() {
        return waistline;
    }

    public void setWaistline(Integer waistline) {
        this.waistline = waistline;
    }

    public Integer getBmi() {
        return bmi;
    }

    public void setBmi(Integer bmi) {
        this.bmi = bmi;
    }

    public String getHealthSelfAppraisal() {
        return healthSelfAppraisal;
    }

    public void setHealthSelfAppraisal(String healthSelfAppraisal) {
        this.healthSelfAppraisal = healthSelfAppraisal;
    }

    public String getSelfcareAbilityAppraisal() {
        return selfcareAbilityAppraisal;
    }

    public void setSelfcareAbilityAppraisal(String selfcareAbilityAppraisal) {
        this.selfcareAbilityAppraisal = selfcareAbilityAppraisal;
    }

    public String getCognitiveFunction() {
        return cognitiveFunction;
    }

    public void setCognitiveFunction(String cognitiveFunction) {
        this.cognitiveFunction = cognitiveFunction;
    }

    public BigDecimal getCognitiveFunctionScore() {
        return cognitiveFunctionScore;
    }

    public void setCognitiveFunctionScore(BigDecimal cognitiveFunctionScore) {
        this.cognitiveFunctionScore = cognitiveFunctionScore;
    }

    public String getAffectiveState() {
        return affectiveState;
    }

    public void setAffectiveState(String affectiveState) {
        this.affectiveState = affectiveState;
    }

    public BigDecimal getAffectiveStateScore() {
        return affectiveStateScore;
    }

    public void setAffectiveStateScore(BigDecimal affectiveStateScore) {
        this.affectiveStateScore = affectiveStateScore;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }


}